package com.chang.dp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("数据字典")
@TableName("dict_parent")
public class DictParentEntity extends BaseEntity {

    @TableId(type= IdType.AUTO)
    private Integer id;
    @ApiModelProperty("数据字典名称")
    private String title;
    private String icon;
    private String code;
}
